Search results
54 packages found
Get the native type of a value.
A simple set of functions that return a boolean.
Test if a value is a boolean.
Returns `true` if the value is a primitive.
Set of shortands of Object.prototype.toString for fast and simple type check
List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
- bool
- boolean
- buffer
- check
- checking
- error
- is
- is-boolean
- is-buffer
- is-error
- is-promise
- is-stream
- json
- kind
- View more
Isomorphic, functional type-checking for Javascript
A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.
Check if an URL is a valid HTTP URL.
Boolean data type has two possible truth values to represent logic.
A utility to determine if a value is a boolean
Boolean data type has two possible truth values to represent logic {web}.
Check if a string is a datetime string.
Ask for a type, returns a true/false as answer.
A robust micro library for type checking. Defers to constructs' internal `[[Class]]` property rather than duck typing for excellent type detection and to avoid triggering false positives.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more
Check whether a value is a `Generator` or `GeneratorFunction`. The `co` way, more strict checking. Always return boolean true or false, never null or undefined.
- check
- es2015
- es6
- es7
- function
- functions
- generator
- generatorfunction
- generators
- is
- is-function
- is-generator
- is-generator-function
- next
Returns an object with a `negated` boolean and the `!` stripped from negation patterns. Also respects extglobs.
Ask for a type, returns a true/false as answer.
Takes any JavaScript data type or object as an input and returns a string describing the type of the input.